Skip to main content

2.15.4. Response

[!NOTE] The response parameters are similar to the application request.

FieldDescriptionType
statussuccess | error
codeError codeInteger
documentIDID of the document in the smartone Cashbox systemInteger
fiscalIDFiscal code of the docString

Error codes

FieldDescription
0No error
2Invalid JSON format
5Internal error
6Shift not open
9Insufficient cash in the register to perform the collection (encashment)

[!NOTE] If the required amount is not available at the cash desk, an error is returned: 9 - there is not enough cash at the cash desk to complete the collection

Response example

{
"cash": 9100,
"cashIn": 101300,
"cashOut": 100000,
"documentID": 44,
"fiscalID": "23",
"shiftOrdersCnt": 0,
"status": "success"
}